package com.mcxx.modules.miniSalvation.family.dao.write;

import com.mcxx.modules.miniSalvation.family.entity.FamilyMemberEntity;
import com.mcxx.modules.miniSalvation.family.entity.MemberAssetsEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface MemberAssetsWriteDAO {

    int deleteById(String id);


    int insertIgnoreNull(MemberAssetsEntity entity);


    int updateIgnoreNull(MemberAssetsEntity entity);


    int deleteByMemberId(String memberId);


    int insertBackupMemberAssets(List<MemberAssetsEntity> list);


    int deleteByOrderId(String orderId);

    int deleteByLowerOrderId(String orderId);

    int copyMemberAssetsInfo(@Param("orderId") String orderId, @Param("newOrderId")String newOrderId);


    int insertLowerAssets(MemberAssetsEntity entity);
}
